package com.lgh.hotel.service;


import com.lgh.hotel.dao.pojo.Guest;
import com.lgh.hotel.vo.Result;
import com.lgh.hotel.vo.params.GuestParams;


import java.util.List;

public interface GuestService {

    Result findAll();

    Guest findGuestById(Long idCard);

    Result addGuest(Guest guest);

    Result deleteGuest(Long id);

    Result updateGuest(Guest guest);

    Result login(GuestParams guestParams);

    int findEndTime();

    Guest findGuestByIdCard(Long idCard);

    void deleteGuestA(Guest guestById);

    List<Guest> findallIdCrad();

}
